1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

Reference | outputmode()


Syntax
outputmode(mode)

DescriptionChanges the way colors are displayed. While the colormode() command specifies the input of colors, outpumode() specifies the output. By default, the output mode for colors is RGB, but you can also set it to CMYK so that exported PDF's are ready for print. Output in RGB will look brighter on screen but to validate PDF documents the colors need to be in CMYK.
Returnsthe current output mode (RGB or CMYK)
Tutorial Colors


Example
outputmode(CMYK)